﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using WpfSnqkGasAnalysis.IBusiness_impl;
using WpfSnqkGasAnalysis.Model;

namespace WpfSnqkGasAnalysis
{
    /// <summary>
    ///  净化气处理日志展示
    /// </summary>
    public partial class WindowCleanStepLog : Window
    {
        public WindowCleanStepLog()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 选中的数据
        /// </summary>
        internal Clean_gas clean_Gas { get; set; }

        CleanGasBusiness cleanGasBusiness = new CleanGasBusiness();

        //页面加载列表     //创建时间：2022-12-15 15:07:30。作者：王浩力
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            //读取处理日志
            var list = cleanGasBusiness.CleanWorkStepLog(clean_Gas.Id);
            this.listView.ItemsSource = list;
        }
    }
}
